@import 'mixin.scss';
@import 'var.scss';
// 聚服务-服务列表
.jfuwu-list {
    display: flex;
    flex-wrap: wrap;
    .jfuwu-item {
        width: 285px;
        height: 405px;
        margin-right: 20px;
        margin-bottom: 20px;
        position: relative;
        &:hover {
            .baojia {
                display: block;
            }
        }
        &:nth-child(4n) {
            margin-right: 0;
        }
        img {
            width: 100%;
            height: 285px;
            display: block;
        }
        .jfuwu-bottom {
            position: absolute;
            bottom: 0;
            width: 100%;
        }
        .jfuwu-info {
            background-color: #fff;
            padding: 0 20px;
            height: 120px;
            .title {
                font-size: 14px;
                color: #262624;
                padding: 20px 0;
            }
            .detail {
                font-size: 12px;
                display: flex;
                padding-bottom: 30px;
                .line1 {
                    color: $fc-gray;
                    margin-bottom: 12px;
                }
                .line2 {
                    color: $fc-base;
                }
                &>div {
                    width: 64px;
                    margin-right: 15px;
                    &:not(:last-child) {
                        border-right: 1px solid $border-gray;
                    }
                }
            }
        }
        .baojia {
            background-color: $bg-blue;
            color: #fff;
            width: 100%;
            display: block;
            line-height: 40px;
            text-align: center;
            font-size: 16px;
            display: none;
        }
    }
}

// 聚服务-筛选
.jfuwu-condition {
    font-size: 12px;
    background-color: #fff;
    margin: 20px 0;
    .ordertype {
        border-bottom: 1px solid $border-gray;
        line-height: 46px;
        span {
            color: $fc-gray;
            width: 100px;
            display: inline-block;
            padding-left: 20px;
        }
        a {
            color: $fc-title-gray;
            width: 84px;
            margin-right: 112px;
            display: inline-block;
            text-align: center;
            &.active {
                border-top: 4px solid $fc-blue;
            }
        }
    }
    .fenlei {
        padding: 10px 0 10px 20px;
        display: flex;
        position: relative;
        .fl-item {
            background-color: #f4f4f4;
            width: 150px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 30px;
            margin-right: 20px;
            padding: 0 12px 0 16px;
        }
        .list-page {
            position: absolute;
            right: 10px;
            display: flex;
            align-items: center;
            .page-num {
                margin-right: 12px;
            }
            .arr-wrap {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 48px;
                height: 23px;
                border: 1px solid #e6e2e1;
                background-color: #fff;
                cursor: pointer;
                &.disabled {
                    background-color: #efefef;
                }
            }
        }
    }
}

// 聚服务-报价
.jfuwu-baojia-wrap {
    display: flex;
    padding-bottom: 60px;
    input {
        border: 1px solid $border-gray;
        line-height: 40px;
        padding: 0 20px;
    }
    .biaoti {
        font-size: 16px;
        color: $fc-base;
        border-left: 5px solid $border-blue;
        padding: 3px 5px;
    }
    .left-wrap {
        background-color: #fff;
        width: 210px;
        margin-right: 20px;
        margin-top: 20px;
        .top {
            border: 1px solid $border-gray;
            height: 60px;
            display: flex;
            align-items: center;
            padding-left: 20px;
        }
        .bottom {
            display: flex;
            flex-direction: column;
            align-items: center;
            .contact {
                width: 140px;
                line-height: 38px;
                border: 2px solid $border-blue;
                font-size: 16px;
                color: $fc-blue;
                text-align: center;
                margin-top: 31px;
            }
            .logo {
                width: 80px;
                height: 80px;
                margin: 21px 0 24px 0;
            }
            .xinyong {
                margin: 18px 0 8px 0;
            }
        }
    }
    .right-wrap {
        flex: 1;
        position: relative;
        .con-box {
            background-color: #fff;
            padding: 30px;
            margin-top: 20px;
            .biaoti {
                margin: 30px 0 20px 0;
            }
        }
        .pl-15 {
            padding-left: 15px;
        }
        .mt-0 {
            margin-top: 0 !important;
        }
        .title {
            font-size: 22px;
            color: $fc-base;
            margin-bottom: 15px;
        }
        .fabudate {
            font-size: 12px;
            color: $fc-title-gray;
            p {
                line-height: 26px;
            }
        }
        .require {
            font-size: 12px;
            color: $fc-base;
            border: 1px solid $border-gray;
            width: 100%;
            .r-row {
                display: flex;
                line-height: 80px;
                &.first {
                    line-height: 50px;
                }
                &:not(:last-child) {
                    border-bottom: 1px solid $border-gray;
                }
            }
            .r-cell {
                text-align: center;
                &.c1 {
                    width: 177px;
                }
                &.c2 {
                    width: 177px;
                }
            }
        }
        .maijialist {
            display: flex;
            img {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                margin-right: 20px;
            }
        }
        .miaoshulist {
            display: flex;
            img {
                width: 150px;
                height: 150px;
                margin-right: 20px;
            }
        }
        .arealist {
            .area-item {
                line-height: 40px;
                width: 128px;
                display: inline-block;
                border: 1px solid $border-gray;
                margin-right: 20px;
                font-size: 12px;
                color: $fc-base;
                text-align: center;
                cursor: pointer;
                &.active {
                    border-color: $border-blue;
                }
            }
        }
        .ipt-298 {
            width: 298px;
        }
        .ipt-448 {
            width: 448px;
        }
        .mark {
            resize: none;
            width: 448px;
            height: 98px;
            padding: 15px 20px;
            font-size: 12px;
            border: 1px solid $border-gray;
        }
        .biaoti2 {
            margin: 30px 0 20px 0;
        }
        .shuiprice-wrap {
            position: relative;
            width: 370px;
            input {
                width: 260px;
            }
        }
        .unit-wrap {
            display: inline-block;
            background-color: #eeeeee;
            border: 1px solid $border-gray;
            width: 52px;
            line-height: 40px;
            padding-left: 10px;
            font-size: 12px;
            color: $fc-title-gray;
            margin-left: -4px;
            i {
                display: inline-block !important;
            }
        }
        .unitlist {
            position: absolute;
            right: 4px;
            top: 42px;
            border: 1px solid $border-gray;
            z-index: 9;
            span {
                display: block;
                background-color: #eeeeee;
                width: 53px;
                line-height: 30px;
                padding-left: 10px;
                &:hover {
                    background-color: #e5e5e5;
                }
            }
        }
        .guige-wrap {
            display: flex;
            align-items: center;
            .radio-group {
                margin-left: 40px;
            }
            span {
                margin-right: 40px;
            }
            i {
                display: inline-block !important;
                margin-bottom: -5px;
                margin-right: 10px;
            }
        }
        .submit-wrap {
            text-align: center;
            border-top: 1px solid $border-gray;
            padding-top: 43px;
            margin-top: 60px;
            button {
                background-color: $bg-blue;
                line-height: 54px;
                color: #fff;
                font-size: 16px;
                width: 400px;
                border: 0;
                cursor: pointer;
            }
        }
        .zhaody {
            position: absolute;
            right: -7px;
            top: 55px;
            color: #fff;
            display: flex;
            .txt1 {
                font-size: 30px;
                margin: 16px 68px 0 68px;
            }
            .txt2 {
                font-size: 12px;
                margin-top: 36px;
            }
        }
        .ordernum-wrap {
            position: absolute;
            right: -7px;
            top: 55px;
            color: #fff;
            font-size: 14px;
            .box {
                margin-left: 58px;
                margin-top: 15px;
            }
            .num {
                font-size: 36px;
            }
            .line2 {
                font-size: 12px;
                color: $fc-base;
                margin-top: 20px;
            }
        }
    }
}

// 聚服务-发布需求
.jfw-xuqiu-top {
    height: 260px;
    width: 100%;
    background-color: #516ab5;
    color: #fff;
    text-align: center;
    .line1 {
        font-size: 30px;
        padding: 60px 0 10px 0;
    }
    .line2 {
        display: flex;
        justify-content: center;
        font-size: 16px;
        span {
            display: flex;
            align-items: center;
            margin: 0 30px;
            i {
                margin-right: 8px;
            }
        }
    }
}

.jfw-tab-item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #888888 !important;
    &.active {
        background-color: #fff;
        color: #3cb36f !important;
        .jfw-tab-ibg {
            background-color: #3cb36f;
        }
    }
    .jfw-tab-ibg {
        background-color: #cccccc;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        margin-right: 15px;
    }
}

.jfw-tab-content {
    position: relative;
    padding: 10px 60px 0 60px;
    .stitle {
        font-size: 14px;
        color: $fc-base;
        margin: 40px 0 20px 0;
    }
    textarea {
        resize: none;
        width: 498px;
        height: 148px;
        border: 1px solid #dddddd;
        padding: 15px;
        font-size: 12px;
    }
    .diqu-group {
        button {
            padding: 14px 57px;
            border: 1px solid $border-gray;
            background-color: #fff;
            font-size: 12px;
            color: $fc-base;
            margin-right: 20px;
            &.active {
                border-color: $border-blue;
            }
        }
    }
    .fabu-wrap {
        border-top: 1px solid $border-gray;
        margin-top: 60px;
        padding: 42px 0;
        button {
            @include btnblue(400px, 54px);
            margin: auto;
        }
    }
    .gongyi-group {
        display: flex;
        .gy-item {
            width: 108px;
            height: 118px;
            margin-right: 20px;
            margin-bottom: 20px;
            border: 1px solid $border-gray;
            font-size: 12px;
            color: $fc-title-gray;
            text-align: center;
            &.active {
                border-color: $border-blue;
                background-image: url('../img/pro_01.png');
                background-position: right bottom;
                background-repeat: no-repeat;
            }
        }
    }
    .shuiprice-wrap {
        position: relative;
        width: 370px;
        border: 1px solid $border-gray;
        input {
            width: 260px;
            line-height: 40px;
            padding: 0 20px;
        }
        i {
            display: inline-block!important;
        }
        .unit-wrap {
            display: inline-block;
            background-color: #eee;
            width: 56px;
            line-height: 42px;
            padding-left: 10px;
            font-size: 12px;
            color: #666;
        }
        .unitlist {
            position: absolute;
            right: -1px;
            top: 42px;
            border: 1px solid #e5e5e5;
            z-index: 9;
            span {
                display: block;
                background-color: #eee;
                width: 54px;
                line-height: 30px;
                padding-left: 10px;
            }
        }
    }
    .upimg-group {
        display: flex;
    }
    .btn-group {
        .btn {
            &.active {
                border-color: $border-blue;
                background-image: url('../img/pro_01.png');
                background-position: right bottom;
                background-repeat: no-repeat;
            }
        }
    }
    .date-group {
        display: flex;
        &>div {
            margin-right: 50px;
        }
    }
    .right-float-wrap {
        position: absolute;
        right: 60px;
        top: 50px;
        // border: 1px solid $border-gray;
        border-top: 2px solid $border-blue;
        width: 270px;
        overflow: hidden;
        .top {
            display: flex;
            flex-direction: column;
            align-items: center;
            border-left: 1px solid $border-gray;
            border-right: 1px solid $border-gray;
            padding: 16px 0 24px 0;
            .biaoti {
                font-size: 14px;
                color: $fc-base;
                margin-top: 15px;
            }
        }
        .seperate {
            position: relative;
            border-top: 1px dashed $border-gray;
            &:before {
                position: absolute;
                content: '';
                width: 20px;
                height: 20px;
                border-radius: 50%;
                left: -10px;
                bottom: -10px;
                background-color: #fff;
                box-shadow: 0 0 5px #e5e5e5 inset;
            }
            &:after {
                position: absolute;
                content: '';
                width: 20px;
                height: 20px;
                border-radius: 50%;
                right: -10px;
                bottom: -10px;
                background-color: #fff;
                box-shadow: 0 0 5px #e5e5e5 inset;
            }
        }
        .bottom {
            padding: 30px;
            border-left: 1px solid $border-gray;
            border-right: 1px solid $border-gray;
            border-bottom: 1px solid $border-gray;
            min-height: 250px;
        }
        .line {
            display: flex;
            justify-content: space-between;
            line-height: 32px;
            font-size: 14px;
            color: $fc-gray;
            .tag {
                color: $fc-base;
            }
        }
    }
}